Gifty\WooCommerce\WC_Gifty_Order S

Total Complexity 46
Dependencies 7
Dependents 1
Total lines 447
Lines of code 299
Logical lines of code 130
Comment lines 70
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
redeem_and_store_gift_cards()
A
39 7 72
capture_redeem_transactions()
A
44 7 53
release_redeem_transactions()
A
46 7 42
revalidate_gift_card_balances()
S
51 5 27
display_gift_cards_in_order_totals()
S
53 5 22
calculate_order_totals()
S
58 5 15
display_total_in_admin_order_totals()
S
50 4 30
send_ajax_failure_response()
S
58 4 15
__construct()
S
58 1 15
save_order_notice()
S
69 1 8